package com.pms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pms.dao.AuthenticateMapper;
import com.pms.domain.AuthticateEntity;
import com.pms.service.AuthenService;

@Service("authenService")
public class AuthenServiceImpl implements AuthenService {

	private AuthenticateMapper authenMapper;

	public AuthenticateMapper getAuthenMapper() {
		return authenMapper;
	}

	@Autowired
	public void setAuthenMapper(AuthenticateMapper authenMapper) {
		this.authenMapper = authenMapper;
	}

	@Override
	public AuthticateEntity getAuthEntity(String account) {
		AuthticateEntity ae = this.authenMapper.getAuthEntity(account);
		return ae;
	}

}
